package com.ylkj.bus.app.report;

import com.ylkj.bus.BaseDO;
import com.ylkj.dao.TableField;
import com.ylkj.dao.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Author: wengzx
 * @Date: 2025/3/13
 * @Desc: APP数据上报列表
 */
@Data
@TableName("t_iotmo_app")
public class IotmoAppDO extends BaseDO {
    /**
     * @fieldName: serialVersionUID
     * @fieldType: long
     * @Description: TODO
     */
    private static final long serialVersionUID = 1L;

    /**
     * @fieldName: id
     * @fieldType: Long
     * @Description: id
     */
    @TableField(value = "id")
    private String id;
    /**
     * @fieldName: deviceIdentifier
     * @fieldType: String
     * @Description: 设备标识
     */
    @TableField("device_identifier")
    private String deviceIdentifier;
    /**
     * @fieldName: appName
     * @fieldType: String
     * @Description: APP名称
     */
    @TableField("app_name")
    private String appName;
    /**
     * @fieldName: appVersion
     * @fieldType: String
     * @Description: APP版本
     */
    @TableField("app_version")
    private String appVersion;
    /**
     * @fieldName: containerName
     * @fieldType: String
     * @Description: 容器名称
     */
    @TableField("container_name")
    private String containerName;
    /**
     * @fieldName: lifeTime
     * @fieldType: Long
     * @Description: 运行时间，单位：秒
     */
    @TableField("life_time")
    private Long lifeTime;
    /**
     * @fieldName: optionStatus
     * @fieldType: String
     * @Description: app操作状态 OPTION_STATUS  字典表  01:指令下发成功, 04:升级中,05:升级失败,06:升级成功,07:安装成功,08:安装失败,09:已卸载
     */
    @TableField("option_status")
    private String optionStatus;
    /**
     * @fieldName: serivceStatus
     * @fieldType: String
     * @Description: app服务状态 SERVICE_STATUS  字典表  01:启动,  02:停止
     */
    @TableField("service_status")
    private String serviceStatus;
    /**
     * @fieldName: enableStatus
     * @fieldType: String
     * @Description: app使能状态 ENABLED_STATUS  字典表  01:使能, 02:去使能
     */
    @TableField("enable_status")
    private String enableStatus;
    /**
     * @fieldName: appHash
     * @fieldType: String
     * @Description: app的哈希值
     */
    @TableField("app_hash")
    private String appHash;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
}
